package cn.hx.mall_goods.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 限时购表(FlashPromotion)实体类
 *
 * @author liufeng
 * @since 2022-12-01 10:58:56
 */

public class FlashPromotion implements Serializable {
    private static final long serialVersionUID = 921542591064232058L;
    
    private Long id;
    
    private String title;
    /**
     * 开始日期
     */
    private Date startDate;
    /**
     * 结束日期
     */
    private Date endDate;
    /**
     * 上下线状态
     */
    private Integer status;
    /**
     * 秒杀时间段名称
     */
    private Date createTime;

    @Override
    public String toString(){
        return "FlashPromotion{"+
                            "id="+id+","+
                            "title="+title+","+
                            "startDate="+startDate+","+
                            "endDate="+endDate+","+
                            "status="+status+","+
                            "createTime="+createTime+","+
                "}";
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public FlashPromotion() {
    }

    public FlashPromotion(Long id, String title, Date startDate, Date endDate, Integer status, Date createTime) {
        this.id = id;
        this.title = title;
        this.startDate = startDate;
        this.endDate = endDate;
        this.status = status;
        this.createTime = createTime;
    }
}

